package com.wzu.zlb.ems.dao;

import com.wzu.zlb.ems.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OrderMapper {
    List<Order> findAllOrders();
    Order findOrderById(Integer id);
    List<Order> searchOrders(Order order);
    Integer addOrder(Order order);
    Integer modifyOrder(Order order);
    Integer deleteOrder(Integer id);
    Integer modifyOrderPro(Order order);
}
